<?php $this->load->view("common/page_header");?>
	<?php $this->load->view("common/top_banner");?>
	<?php $this->load->view("common/header");?>
	
	<div id="body_main">
		<div class="search_top">
			<div class="right" style="margin-top:5px;margin-left:190px">
				<a href="javascript:void(0)" class="blue_button bold" id="register_button">注册</a>
				<a href="javascript:void(0)" class="blue_button bold" id="login_button">登录</a>
			</div>
			<?php $this->load->view("common/page_controller");?>
			<div class="title">共有<?php echo $expert_count;?>个<span class="type">行家</span></div>
			<div class="clear"></div>
		</div>
		<div class="top_border margin_top15">
			<div class="arrow_up" style="left:130px"></div>
		</div>
		
		<div id="body_content">
			<div class="search_body">
				<form class="section" action="/search" action="get">
					<div class="key_word">
						<div class="bold left white">所在地：</div>
						<?php $this->load->view("common/province_selector");?>
						<input type="hidden" name="key" value="<?php echo empty($key) ? '' : $key;?>"></input>
						<input type="hidden" name="search_type" value="<?php echo empty($search_type) ? '' : $search_type;?>"></input>
						<input type="submit" value="确定" />
					
						<div class="right" id="search_by_more">
							<a href="javascript:void(0)" class="white">更多筛选条件<span class="arrow_down"></span></a>
 						</div>
					</div>
					<div class="pop_search_box hide">
						<div class="left item">
							<label>好评级别：</label>
							<select name="score">
								<option value="">-不限-</option>
								<option value="5">5星</option>
								<option value="4">>4星</option>
								<option value="3">>3星</option>
								<option value="2">>2星</option>
								<option value="1">>1星</option>
							</select>
						</div>
						<div class="left item">
							<label>身份验证：</label>
							<input type="radio" name="is_vertification" value="yes" <?php echo !empty($is_vertification) && $is_vertification=='yes' ? 'checked' : '';?>/>是
							<input type="radio" name="is_vertification" value="no" <?php echo !empty($is_vertification) && $is_vertification=='no' ? 'checked' : '';?>/>否
						</div>
						<div class="left item">
							<label>专业验证：</label>
							<input type="radio" name="is_major_verified" value="yes" />是
							<input type="radio" name="is_major_verified" value="no" />否					
						</div>
						<div class="clear"></div>
						<div class="left item">
							<label>出生年代：</label>
							<select name="birth_period">
								<option value="">-不限-</option>
								<option <?php echo (!empty($birth_period) && $birth_period == '1940' ? 'selected' : '');?> value="1940">1940年后</option>
								<option <?php echo (!empty($birth_period) && $birth_period == '1950' ? 'selected' : '');?> value="1950">1950年后</option>
								<option <?php echo (!empty($birth_period) && $birth_period == '1960' ? 'selected' : '');?> value="1960">1960年后</option>
								<option <?php echo (!empty($birth_period) && $birth_period == '1970' ? 'selected' : '');?> value="1970">1970年后</option>
								<option <?php echo (!empty($birth_period) && $birth_period == '1980' ? 'selected' : '');?> value="1980">1980年后</option>
								<option <?php echo (!empty($birth_period) && $birth_period == '1990' ? 'selected' : '');?> value="1990">1990年后</option>
								<option <?php echo (!empty($birth_period) && $birth_period == '2000' ? 'selected' : '');?> value="2000">2000年后</option>
							</select>
						</div>
						<div class="left item">
							<label>&emsp;&emsp;性别：</label>
							<input type="radio" name="sex" value="1" <?php echo (!empty($sex) && $sex == 1 ? 'checked' : '');?>/>男
							<input type="radio" name="sex" value="0" <?php echo (isset($sex) && $sex == 0 ? 'checked' : '');?>/>女
						</div>
						<div class="clear"></div>
					</div>
				</form>
				<?php $this->load->view('common/user_list');?>
				<?php $this->load->view('common/page_controller');?>
			</div>
			<div class="clear"></div>
		</div>
		
		<?php $this->load->view("common/footer");?>		
		
		<p class="center">Page rendered in {elapsed_time} seconds</p>
	</div>
<script type="text/javascript">
$(document).ready(function(){
	$("#register_button").colorbox({iframe:true, innerWidth:556, innerHeight:320, close:'关闭'});
	$("#login_button").colorbox({iframe:true, innerWidth:390, innerHeight:180, close:'关闭'});

	$('#search_by_more').click(function(e){
		$('.pop_search_box').slideToggle('slow');
	});
});	
</script>
<?php $this->load->view("common/page_footer");?>
